package com.prototype;

/**
 * 优点 提高性能         缺点 已有的类没有写相应的clone方法，较为麻烦
 * 
 * @author 86158
 *
 */
public class Prototype implements Cloneable {
	public int num;

	public Prototype(int num) {
		this.num = num;
	}

	public Prototype colne() throws CloneNotSupportedException {
		return (Prototype) super.clone();
	}
}
